import request from "../utils/request";

// 获取数据+分页+搜索
export const apiArticle = (data) => {
  return request({ url: "/api/article", method: "post", data });
};

// 删除单个
export const apiArticleDel = (data) => {
  return request({ url: "/api/articleDel", method: "post", data });
};

// 添加
export const apiAddArticle = (data) => {
  return request({ url: "/api/addArticle", method: "post", data });
};
